package com.jbinfo.qingcaowan.base.dto;

import java.util.Date;
import java.util.List;

public class BaseTimeDTO {
	
    private String id;

    private String userId;
    
    private String strStartTime;  // 阅读开始时间
    
    private String strEndTime; // 阅读结束时间

    private String cardId;

    private Integer time;
    
    // 学习任务日期
    private Date dTaskDay;
    
    private String taskDay;
    
    private Date gmtCreate;

    private String orgId;
    
    // 总阅读时间(分钟)
    private Integer totalReadTime;
    
//    private double nTotalTime; // 总阅读时间（分钟） double 类型
    
    // 总阅读本数
    private Integer totalReadNum;
    
    // 总阅读天数
    private Integer totalReadDay;
    
    private String userCode; // 用户编码
    
    private String userName; // 用户名称
    
    private double totalTime; // 用户阅读时间  （分钟） 还有小数
    
    private Integer rankNum; // 前几名
    
    // orgIds 用户所在所有组织Id
    private List<String> orgIdList;
    
    private String strQueryDate;  // 查询日期
    
    private String subOrgId; // 子组织（支部）Id
    
    private String subOrgName; // 支部名称
    
    private String rankNumByOrgRead; // 支部阅读时间排名
    
    private double totalOrgReadTime; // 支部阅读时间  （分钟） 还有小数
    
    private Integer rankNumInSubOrg; // 用户在支部中阅读时间排名

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId == null ? null : userId.trim();
    }

    public String getStrStartTime() {
		return strStartTime;
	}

	public void setStrStartTime(String strStartTime) {
		this.strStartTime = strStartTime;
	}

	public String getStrEndTime() {
		return strEndTime;
	}

	public void setStrEndTime(String strEndTime) {
		this.strEndTime = strEndTime;
	}

	public String getCardId() {
        return cardId;
    }

    public void setCardId(String cardId) {
        this.cardId = cardId == null ? null : cardId.trim();
    }

    public Integer getTime() {
        return time;
    }

    public void setTime(Integer time) {
        this.time = time;
    }

	public Date getdTaskDay() {
		return dTaskDay;
	}

	public void setdTaskDay(Date dTaskDay) {
		this.dTaskDay = dTaskDay;
	}

	public String getTaskDay() {
		return taskDay;
	}

	public void setTaskDay(String taskDay) {
		this.taskDay = taskDay;
	}

	public Date getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    public String getOrgId() {
        return orgId;
    }

    public void setOrgId(String orgId) {
        this.orgId = orgId == null ? null : orgId.trim();
    }

	public Integer getTotalReadTime() {
		return totalReadTime;
	}

	public void setTotalReadTime(Integer totalReadTime) {
		this.totalReadTime = totalReadTime;
	}

	public Integer getTotalReadNum() {
		return totalReadNum;
	}

	public void setTotalReadNum(Integer totalReadNum) {
		this.totalReadNum = totalReadNum;
	}

	public Integer getTotalReadDay() {
		return totalReadDay;
	}

	public void setTotalReadDay(Integer totalReadDay) {
		this.totalReadDay = totalReadDay;
	}

	public String getUserCode() {
		return userCode;
	}

	public void setUserCode(String userCode) {
		this.userCode = userCode;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public double getTotalTime() {
		return totalTime;
	}

	public void setTotalTime(double totalTime) {
		this.totalTime = totalTime;
	}

	public Integer getRankNum() {
		return rankNum;
	}

	public void setRankNum(Integer rankNum) {
		this.rankNum = rankNum;
	}

	public List<String> getOrgIdList() {
		return orgIdList;
	}

	public void setOrgIdList(List<String> orgIdList) {
		this.orgIdList = orgIdList;
	}

	public String getStrQueryDate() {
		return strQueryDate;
	}

	public void setStrQueryDate(String strQueryDate) {
		this.strQueryDate = strQueryDate;
	}

	public String getSubOrgId() {
		return subOrgId;
	}

	public void setSubOrgId(String subOrgId) {
		this.subOrgId = subOrgId;
	}

	public String getSubOrgName() {
		return subOrgName;
	}

	public void setSubOrgName(String subOrgName) {
		this.subOrgName = subOrgName;
	}

	public String getRankNumByOrgRead() {
		return rankNumByOrgRead;
	}

	public void setRankNumByOrgRead(String rankNumByOrgRead) {
		this.rankNumByOrgRead = rankNumByOrgRead;
	}

	public double getTotalOrgReadTime() {
		return totalOrgReadTime;
	}

	public void setTotalOrgReadTime(double totalOrgReadTime) {
		this.totalOrgReadTime = totalOrgReadTime;
	}

	public Integer getRankNumInSubOrg() {
		return rankNumInSubOrg;
	}

	public void setRankNumInSubOrg(Integer rankNumInSubOrg) {
		this.rankNumInSubOrg = rankNumInSubOrg;
	}

	@Override
	public String toString() {
		return "BaseTimeDTO [id=" + id + ", userId=" + userId + ", strStartTime=" + strStartTime + ", strEndTime="
				+ strEndTime + ", cardId=" + cardId + ", time=" + time + ", dTaskDay=" + dTaskDay + ", taskDay="
				+ taskDay + ", gmtCreate=" + gmtCreate + ", orgId=" + orgId + ", totalReadTime=" + totalReadTime
				+ ", totalReadNum=" + totalReadNum + ", totalReadDay=" + totalReadDay + ", userCode=" + userCode
				+ ", userName=" + userName + ", totalTime=" + totalTime + ", rankNum=" + rankNum + ", orgIdList="
				+ orgIdList + ", strQueryDate=" + strQueryDate + ", subOrgId=" + subOrgId + ", subOrgName=" + subOrgName
				+ ", rankNumByOrgRead=" + rankNumByOrgRead + ", totalOrgReadTime=" + totalOrgReadTime
				+ ", rankNumInSubOrg=" + rankNumInSubOrg + "]";
	}

}